3.2407 \(\int \frac{1}{(d+e x) \sqrt{\frac{b^2}{4 c}+b x+c x^2}} \, dx\)

Optimal. Leaf size=96 \[ \frac{2 (b+2 c x) \log (b+2 c x)}{\sqrt{\frac{b^2}{c}+4 b x+4 c x^2} (2 c d-b e)}-\frac{2 (b+2 c x) \log (d+e x)}{\sqrt{\frac{b^2}{c}+4 b x+4 c x^2} (2 c d-b e)} \]

[Out]

(2*(b + 2*c*x)*Log[b + 2*c*x])/((2*c*d - b*e)*Sqrt[b^2/c + 4*b*x + 4*c*x^2]) - (2*(b + 2*c*x)*Log[d + e*x])/((
2*c*d - b*e)*Sqrt[b^2/c + 4*b*x + 4*c*x^2])

________________________________________________________________________________________

Rubi [A]  time = 0.034538, antiderivative size = 96, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097, Rules used = {646, 36, 31} \[ \frac{2 (b+2 c x) \log (b+2 c x)}{\sqrt{\frac{b^2}{c}+4 b x+4 c x^2} (2 c d-b e)}-\frac{2 (b+2 c x) \log (d+e x)}{\sqrt{\frac{b^2}{c}+4 b x+4 c x^2} (2 c d-b e)} \]

Antiderivative was successfully verified.

[In]

Int[1/((d + e*x)*Sqrt[b^2/(4*c) + b*x + c*x^2]),x]

[Out]

(2*(b + 2*c*x)*Log[b + 2*c*x])/((2*c*d - b*e)*Sqrt[b^2/c + 4*b*x + 4*c*x^2]) - (2*(b + 2*c*x)*Log[d + e*x])/((
2*c*d - b*e)*Sqrt[b^2/c + 4*b*x + 4*c*x^2])

Rule 646

Int[((d_.) + (e_.)*(x_))^(m_)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Dist[(a + b*x + c*x^2)^Fra
cPart[p]/(c^IntPart[p]*(b/2 + c*x)^(2*FracPart[p])), Int[(d + e*x)^m*(b/2 + c*x)^(2*p), x], x] /; FreeQ[{a, b,
 c, d, e, m, p}, x] && EqQ[b^2 - 4*a*c, 0] &&  !IntegerQ[p] && NeQ[2*c*d - b*e, 0]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rubi steps

\begin{align*} \int \frac{1}{(d+e x) \sqrt{\frac{b^2}{4 c}+b x+c x^2}} \, dx &=\frac{\left (\frac{b}{2}+c x\right ) \int \frac{1}{\left (\frac{b}{2}+c x\right ) (d+e x)} \, dx}{\sqrt{\frac{b^2}{4 c}+b x+c x^2}}\\ &=\frac{\left (2 c \left (\frac{b}{2}+c x\right )\right ) \int \frac{1}{\frac{b}{2}+c x} \, dx}{(2 c d-b e) \sqrt{\frac{b^2}{4 c}+b x+c x^2}}-\frac{\left (2 e \left (\frac{b}{2}+c x\right )\right ) \int \frac{1}{d+e x} \, dx}{(2 c d-b e) \sqrt{\frac{b^2}{4 c}+b x+c x^2}}\\ &=\frac{2 (b+2 c x) \log (b+2 c x)}{(2 c d-b e) \sqrt{\frac{b^2}{c}+4 b x+4 c x^2}}-\frac{2 (b+2 c x) \log (d+e x)}{(2 c d-b e) \sqrt{\frac{b^2}{c}+4 b x+4 c x^2}}\\ \end{align*}

Mathematica [A]  time = 0.0317777, size = 51, normalized size = 0.53 \[ \frac{2 (b+2 c x) (\log (b+2 c x)-\log (d+e x))}{\sqrt{\frac{(b+2 c x)^2}{c}} (2 c d-b e)} \]

Antiderivative was successfully verified.

[In]

Integrate[1/((d + e*x)*Sqrt[b^2/(4*c) + b*x + c*x^2]),x]

[Out]

(2*(b + 2*c*x)*(Log[b + 2*c*x] - Log[d + e*x]))/((2*c*d - b*e)*Sqrt[(b + 2*c*x)^2/c])

________________________________________________________________________________________

Maple [A]  time = 0.187, size = 58, normalized size = 0.6 \begin{align*} 2\,{\frac{ \left ( 2\,cx+b \right ) \left ( \ln \left ( ex+d \right ) -\ln \left ( 2\,cx+b \right ) \right ) }{be-2\,cd}{\frac{1}{\sqrt{{\frac{4\,{c}^{2}{x}^{2}+4\,bcx+{b}^{2}}{c}}}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(2/(e*x+d)/(b^2/c+4*b*x+4*c*x^2)^(1/2),x)

[Out]

2*(2*c*x+b)*(ln(e*x+d)-ln(2*c*x+b))/((4*c^2*x^2+4*b*c*x+b^2)/c)^(1/2)/(b*e-2*c*d)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2/(e*x+d)/(1/c*b^2+4*b*x+4*c*x^2)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 2.18694, size = 626, normalized size = 6.52 \begin{align*} \left [-\frac{2 \, \sqrt{c} \log \left (\frac{16 \, c^{3} e^{2} x^{3} + 4 \, b c^{2} d^{2} + b^{3} e^{2} + 16 \,{\left (c^{3} d e + b c^{2} e^{2}\right )} x^{2} + 2 \,{\left (4 \, c^{3} d^{2} + 4 \, b c^{2} d e + 3 \, b^{2} c e^{2}\right )} x +{\left (4 \, c^{2} d^{2} - b^{2} e^{2} + 4 \,{\left (2 \, c^{2} d e - b c e^{2}\right )} x\right )} \sqrt{c} \sqrt{\frac{4 \, c^{2} x^{2} + 4 \, b c x + b^{2}}{c}}}{4 \, c^{2} e x^{3} + b^{2} d + 4 \,{\left (c^{2} d + b c e\right )} x^{2} +{\left (4 \, b c d + b^{2} e\right )} x}\right )}{2 \, c d - b e}, -\frac{4 \, \sqrt{-c} \arctan \left (-\frac{{\left (4 \, c e x + 2 \, c d + b e\right )} \sqrt{-c} \sqrt{\frac{4 \, c^{2} x^{2} + 4 \, b c x + b^{2}}{c}}}{2 \, b c d - b^{2} e + 2 \,{\left (2 \, c^{2} d - b c e\right )} x}\right )}{2 \, c d - b e}\right ] \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2/(e*x+d)/(1/c*b^2+4*b*x+4*c*x^2)^(1/2),x, algorithm="fricas")

[Out]

[-2*sqrt(c)*log((16*c^3*e^2*x^3 + 4*b*c^2*d^2 + b^3*e^2 + 16*(c^3*d*e + b*c^2*e^2)*x^2 + 2*(4*c^3*d^2 + 4*b*c^
2*d*e + 3*b^2*c*e^2)*x + (4*c^2*d^2 - b^2*e^2 + 4*(2*c^2*d*e - b*c*e^2)*x)*sqrt(c)*sqrt((4*c^2*x^2 + 4*b*c*x +
 b^2)/c))/(4*c^2*e*x^3 + b^2*d + 4*(c^2*d + b*c*e)*x^2 + (4*b*c*d + b^2*e)*x))/(2*c*d - b*e), -4*sqrt(-c)*arct
an(-(4*c*e*x + 2*c*d + b*e)*sqrt(-c)*sqrt((4*c^2*x^2 + 4*b*c*x + b^2)/c)/(2*b*c*d - b^2*e + 2*(2*c^2*d - b*c*e
)*x))/(2*c*d - b*e)]

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} 2 \int \frac{1}{d \sqrt{\frac{b^{2}}{c} + 4 b x + 4 c x^{2}} + e x \sqrt{\frac{b^{2}}{c} + 4 b x + 4 c x^{2}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2/(e*x+d)/(1/c*b**2+4*b*x+4*c*x**2)**(1/2),x)

[Out]

2*Integral(1/(d*sqrt(b**2/c + 4*b*x + 4*c*x**2) + e*x*sqrt(b**2/c + 4*b*x + 4*c*x**2)), x)

________________________________________________________________________________________

Giac [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2/(e*x+d)/(1/c*b^2+4*b*x+4*c*x^2)^(1/2),x, algorithm="giac")

[Out]

Exception raised: TypeError